{% extends "base.html" %}

{% block title %}Cardapio{% endblock %}

{% block body_navegacao %}
<table class="table table-striped">
    <thead> 
        <tr>
            <th>Categoria</th>
            <th>Item</th>
            <th>Descrição</th>
            <th>Tamanho</th>
            <th>Preço</th>
        </tr>
    </thead>
    <tbody>
        {% for pizza in pizzas %}
        <tr>
            <td>Pizza</td>
            <td>{{ pizza.nome }}</td>
            <td>{{ pizza.descricao }}</td>
            <td>Pequena</td>
            <td>{{ pizza.preco_p }}</td>
         </tr>
         <tr>
            <td>Pizza</td>
            <td>{{ pizza.nome }}</td>
            <td>{{ pizza.descricao }}</td>
            <td>Média</td>
            <td>{{ pizza.preco_m }}</td>
         </tr>
         <tr>
            <td>Pizza</td>
            <td>{{ pizza.nome }}</td>
            <td>{{ pizza.descricao }}</td>
            <td>Grande</td>
            <td>{{ pizza.preco_g }}</td>
         </tr>
        {% endfor %}
        {% for item in itens %}
        <tr>  
             <td>{{ item.categoria}}</td>  
             <td>{{ item.nome }}</td>
             <td></td>
             <td></td>
             <td>{{ item.preco }}</td>
         </tr>
        {% endfor %}
    </tbody>
</table>
{% endblock %}
